package cn.itcast.travel.service.impl;

import cn.itcast.travel.dao.OrderDao;
import cn.itcast.travel.dao.impl.OrderDaoImp;
import cn.itcast.travel.domain.Order;
import cn.itcast.travel.service.PayService;

public class PayServiceImp implements PayService {
    private OrderDao orderDao=new OrderDaoImp();
    @Override
    public void addOrder(Order order) {
        orderDao.addOrder(order);
    }

    @Override
    public void updateById(String out_trade_no) {
        orderDao.updaById(out_trade_no);
    }
}
